package com.gtw.modules.sys.service.impl;

import com.gtw.modules.entity.MemberCommodityEntity;
import com.gtw.modules.sys.service.SysMemberCommodityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.gtw.modules.dao.MemberCommodityDao;



@Service
public class SysMemberCommodityServiceImpl implements SysMemberCommodityService {
	@Autowired
	private MemberCommodityDao memberCommodityDao;
	
	@Override
	public MemberCommodityEntity queryObject(Integer id){
		return memberCommodityDao.queryObject(id);
	}
	
	@Override
	public List<MemberCommodityEntity> queryList(Map<String, Object> map){
		return memberCommodityDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return memberCommodityDao.queryTotal(map);
	}
	
	@Override
	public void save(MemberCommodityEntity memberCommodity){
		memberCommodityDao.save(memberCommodity);
	}
	
	@Override
	public void update(MemberCommodityEntity memberCommodity){
		memberCommodityDao.update(memberCommodity);
	}
	
	@Override
	public void delete(Integer id){
		memberCommodityDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		memberCommodityDao.deleteBatch(ids);
	}
	
}
